package com.boesch.electroOffice.business.businessObject;

import java.util.List;

import com.boesch.electroOffice.business.common.BusinessException;
import com.boesch.electroOffice.dataaccess.common.IllegalDataAccessException;
import com.boesch.electroOffice.model.wrapper.WorkingHoursEntry;
import com.liferay.portal.model.User;

public interface WorkingHoursBusinessObject {

	public List<WorkingHoursEntry> getWorkingHourEntriesByAppointmentIdAndCalendarWeek(long appointmentId, int year, int week)
			throws IllegalDataAccessException, BusinessException;
	
	public void saveWorkingHoursEntry(WorkingHoursEntry entry, User currentUser) throws IllegalDataAccessException, BusinessException;
	
	public void deleteWorkingHoursEntry(WorkingHoursEntry entry, User currentUser) throws IllegalDataAccessException, BusinessException;
}
